package com.paul.sys.service;
import com.paul.sys.model.Symenu;
import com.paul.sys.tools.PageData;

import java.util.List;
import java.util.Map;

public interface SymenuService {
    public Map listPrivateByUserId(Map<String, String> param);
    public List<Symenu> listPublicAll(Map<String, String> param);
    public List<Symenu> listPrivateAll(Map<String, String> param);
    public List<Symenu> listByPunid(Map<String, String> param);
    public Symenu selectByUnid(String unid);
    public PageData<Symenu> listByPage(Map<String, String> param);
    public List<Map> getAllTree();
    int updateByPrimaryKey(Symenu symenu);
    public int insert(Symenu symenu);
    public int deleteMenutree(String unid);
    public List<Map> getRoleLink(String unid);
    public int linkRole(Map<String, Object> param);
    public int unlinkRole(Map<String, Object> param);

}
